#{extends 'frameHome.html' /}#{set title:'Requests' /} 

<div id=main>
	<h3>Request for a Topic</h3>
	<form name=RequestTopic action="@{Requests.topicRequestSent(entity.id)}" method="POST">

		<div class="content">
			<div class="row">
				<div class="left">Title*</div>
				<div class="right">
					<input type="text" name="subject" size='25' required>
				</div>
				<div class="clear"></div>
			</div>
			
			<div class="row">
				<div class="left">Body*</div>
				<div class="right">
					<td><textarea rows="10" cols="25" name="Body" required>
					</textarea>
				</div>
				<div class="clear"></div>
			</div>

		
								
		<input type="submit" name="Post" value="Send Topic Request" />
		<input type="submit" formaction='@{DraftController.showDraft()}' value="Save to Draft" />
				
	</form><br></br>
	<p class="field">
	<a href="@{Entity.viewEntity(entity.id)}"
				class="button">Go Back</a>
	</p>

	<p>*All Fields are Requireds</p>

</div>


